package com.khalil.kkadmin.module.ai.agent.chatsession;

import java.util.List;

public interface ChatSessionService {
    List<ChatSession> getUserApplicationChatSessionList(String username, Long applicationId);

    ChatSession getSession(Long sessionId);

    ChatSession createSession(String username, Long applicationId, String title);

    void deleteSession(Long sessionId);

    void deleteSessions(List<Long> sessionIds);

    void partialUpdateSession(Long sessionId, String property, Object value);

    List<ChatSessionMessage> getSessionMessageList(Long sessionId);

    ChatSessionMessage createSessionMessage(Long sessionId, ChatSessionMessage message);
}
